{include file="include/header1.html"}

<!-- topbar starts -->
{include file="include/header2.html"}
<!-- topbar ends -->
        <div class="container-fluid">
        <div class="row-fluid">

<!-- left menu starts -->
{include file="include/leftmenu.html"}
<!-- left menu ends -->

    <div id="content" class="span10">
			<!-- content starts -->
			

			<div>
				<ul class="breadcrumb">
					<li>
						<a href="#">首页</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">文章</a>
					</li>
				</ul>
			</div>

    <div class="row-fluid sortable">	
				<div class="box span12">
					<div class="box-header well" data-original-title>
						<h2><i class="icon-plus"></i>浏览所有文章</h2>
						<div class="box-icon">
							<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
							<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
							<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
						</div>
					</div>
					<!--内容-->
                                        <div class="box-content">
                                            <div class="breadcrumb"><a href="{$webpaths}?c=article&a=edit">添加文章</a> | <a href="{$webpaths}?c=article">浏览所有文章</a></div>
                                            <!--百度 ueditor-->
                                            <form method="post" action="{$webpaths}?c=article&a=edit">
                                                <input type="hidden" value="{$content_id}" name="content_id" />
                                            <p><input type="text" name="contenttitle" value="{$contenttitle}" style="width:100%;margin: 0px;padding: 5px 0px;" /></p>
                                            <script type="text/javascript" src="{$webpathroot}ueditor/editor_config.js"></script>
                                            <script type="text/javascript" src="{$webpathroot}ueditor/editor_api.js"></script>
                                            <script type="text/javascript" src="{$webpathroot}ueditor/editor_all.js"></script>
                                            <link rel="stylesheet" type="text/css" href="{$webpathroot}ueditor/themes/default/ueditor.css"/>
                                            <script type="text/plain" id="editor" name="myeditoraa" style="width:100%;">{$contentaaa}</script>
                                            <div class="clear"></div>
                                            <script type="text/javascript">
                                                var ue = new UE.ui.Editor();
                                                ue.render('editor');
                                                //1.2.4以后可以使用一下代码实例化编辑器
                                                //UE.getEditor('myEditor')
                                            </script> <br />
                                            <p>选择文章栏目: <select name="channel_type">{$current_channel_id}{section name=i loop=$row_channel_type}<option value="{$row_channel_type[i].id}">{$row_channel_type[i].name}</option>{/section}</select></p>
                                            <p><input type="submit" value="保存" name="click" class="btn btn-info" /></p>
                                            </form>
                                            <!--百度 ueditor
                                            添加完上面这些代码之后,需要在editor_config.js文件中修改两处地方
                                            第一处是22行,修改 'var URL'为'var URL = window.UEDITOR_HOME_URL||"/myweb/admin/skis/templates/uedit/";'
                                            第二处是27和28行,注释这两行,要不然添加图片会报错
                                            -->
					</div>
                                        <!--内容-->
				</div><!--/span-->
				
			</div><!--/row-->
                        
    </div>

    </div>
    <hr />

{include file="include/footer2.html"}
</div>
{include file="include/footer1.html"}